home *** CD-ROM | disk | FTP | other *** search
- on getPrintTime theTime
- if theTime = 0 then
- theString = "--:--:---"
- else
- mins = theTime / 60000
- secs = (theTime - (mins * 60000)) / 1000
- thous = theTime mod 1000
- mins = string(mins)
- secs = string(secs)
- thous = string(thous)
- repeat while mins.length < 2
- mins = "0" & mins
- end repeat
- repeat while secs.length < 2
- secs = "0" & secs
- end repeat
- repeat while thous.length < 3
- thous = "0" & thous
- end repeat
- theString = mins & ":" & secs & ":" & thous
- end if
- return theString
- end
-